OTP\Handler\Forms\RealesWPTheme S

Total Complexity 35
Dependencies 7
Dependents 0
Total lines 195
Lines of code 126
Logical lines of code 67
Comment lines 0
Methods 15
Properties 0

Methods 15

Method Rating Maintainability Complexity Lines of code
validateSubmittedFields()
S
58 5 16
enqueue_script_on_page()
S
58 4 14
routeData()
S
64 4 10
_send_otp_to_phone()
S
63 3 10
_send_otp_to_email()
S
63 3 10
getPhoneNumberSelector()
S
70 3 6
_send_otp_realeswp_verify()
S
68 2 7
_reales_validate_otp()
S
69 2 6
checkIfOTPVerificationHasStarted()
S
68 2 8
handleFormOptions()
S
68 2 7
__construct()
S
60 1 13
handleForm()
S
72 1 5
handle_failed_verification()
S
72 1 6
handle_post_verification()
S
73 1 5
unsetOTPSessionVariables()
S
79 1 3